﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Person/Person.Master" AutoEventWireup="true" CodeBehind="details.aspx.cs" Inherits="ZF.WS.Person.space.details" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

 <div class="location   mt10_">
        您现在的位置：<a href="/person/index.aspx">会员中心</a> >> <a href="">账号明细</a>
    </div>
    <div>&nbsp;</div> 

<!--自定义条件 开始-->
    <div class="tabHeadMenu">
     <a href="details.aspx" class='<%=(Type==0)?"action":"" %>'>全部</a> 
        <a href="details.aspx?t=1" class='<%=(Type==1)?"action":"" %>'>消费记录</a>  
        <a href="details.aspx?t=2" class='<%=(Type==2)?"action":"" %>'>增加记录</a>
    </div>
    <!--自定义条件 结束-->
    <!--列表 开始-->
    <div class="tabContainer">
        <zf:GridView ID="gvList" runat="server" OnSorting="gvListSorting" OnPageIndexChanging="gvListPageChanging">
            <Columns>
                <zf:TemplateField IsKeyField="true" DefaultSortField="true" DefaultSortDirection="Descending" SortExpression="Log.IntegralLogId">
                    <ItemTemplate>
                        <asp:Label runat="server" ID="KeyLabel" Text='<%# Eval("Log.IntegralLogId")%>'></asp:Label>
                    </ItemTemplate> 
                </zf:TemplateField>
                <zf:TemplateField IsCheckField="true">
                </zf:TemplateField>
                <zf:TemplateField IsSerialNoField="true">
                </zf:TemplateField>
  <%--              <zf:TemplateField HeaderText="帐号">
                    <ItemTemplate>
                    <a href="IntegralLog.aspx?id=<%#  Eval("Member.MemberId")%>"><%#  Eval("Member.Account")%> </a>
                    </ItemTemplate>
                </zf:TemplateField>--%>
                <zf:TemplateField HeaderText="积分">
                    <ItemTemplate>
                    <%#((int)Eval("Log.Integral"))>0?"-":"+" %><%# Math.Abs((int)Eval("Log.Integral"))%>
                    </ItemTemplate>
                </zf:TemplateField>
                
                
                 <zf:TemplateField HeaderText="说明">
                    <ItemTemplate>
                        <%#  Eval("Log.Title")%>
                    </ItemTemplate>
                </zf:TemplateField>
            
              <zf:TemplateField HeaderText="发生时间" DefaultSortDirection="Descending" SortExpression="Log.AddTime">
                    <ItemTemplate>
                        <%#  Eval("Log.AddTime")%>
                    </ItemTemplate>
                </zf:TemplateField>
                
                <%--<zf:TemplateField HeaderText="操作">
                    <ItemTemplate>
                         <a href='MemberInfo.aspx?mid=<%# Eval("Log.IntegralLogId")%>' >
                                查看</a> | <zf:LinkButton ID="LinkButton1" runat="server" OnClick="Delete" CommandArgument='<%# Eval("Log.IntegralLogId") %>'
                            OnClientClick="return confirm('是否确定要删除此记录');">删除</zf:LinkButton>
                    </ItemTemplate>
                </zf:TemplateField>--%>
            </Columns>
        </zf:GridView>
    </div>
    <!--列表 结束-->
    <div class="mt5_ fc_">
    </div>
    <!--自定义按钮 开始-->
    <div class="btnContainer mt10_ dn_">
        <span class="fl_ mr10_">
            <input type="checkbox" class="checkAll" bind=".tab" />选中本页显示的所有记录</span>
        <zf:LinkButton ID="LinkButton1" runat="server" OnClick="Delete" CommandArgument='select'
            OnClientClick="return confirm('是否确定要删除选中记录');">删除选中的行</zf:LinkButton>
        
    </div>
    <!--自定义按钮 结束-->
    <div class="fc_ mt10_">
    </div>
    <!--搜索 开始-->
    <div class="searchContainer dn_">
        <table>
            <tr>
                <td class="l">
                    搜索选项:
                </td>
                <td class="m">
                    <div class="c">
                        
                        
                        <span class="t">帐号:</span><span class="c">
                            <zf:TextBox runat="server" class="dttxt" ID="tbAccount"></zf:TextBox>
                            <zf:RadioButtonList runat="server" ID="rblCT" RepeatLayout="Flow" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0" Text="模糊匹配" Selected="True"></asp:ListItem>
                            <asp:ListItem Value="1" Text="完全匹配"></asp:ListItem>
                            </zf:RadioButtonList>
                            </span>
                        <span class="t">&nbsp;&nbsp;类型:</span><span class="c">
                            <zf:TextBox runat="server" class="dttxt" ID="tbType" ></zf:TextBox></span>
                        
                        <span class="t">&nbsp;&nbsp;起始时间:</span><span class="c">
                            <zf:TextBox runat="server" class="dttxt" ID="tbBeginTime" onfocus="calendar();"></zf:TextBox></span>
                        <span class="t">&nbsp;&nbsp;结束时间:</span><span class="c">
                            <zf:TextBox runat="server" class="dttxt" ID="tbEndTime" onfocus="calendar();"></zf:TextBox></span>
                        <zf:Button runat="server" ID="Button2" Text="搜 索" OnClick="Search" class="linkbtn" />
                        <zf:Button runat="server" ID="Button1" Text="全 部" OnClick="AllList" class="linkbtn" />
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <!--搜索 结束-->
</asp:Content>
